import  re
text = 'UPPER PYTHON, lower python, Mixed Python'
## 忽略大小写
result1=re.findall('python',text,flags=re.IGNORECASE)
print(result1)